.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.main {
  overflow: auto;
  height: calc(100% - 30px);
  margin-bottom: 40px;

}

.footer {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 30px;
}

.messages {
  list-style-type: none;
  margin: 0;
  padding: 10px;
  overflow-y: auto;
}

.messages li {
  padding: 5px;
}

.messages li:nth-child(odd) {
  background: #eee;
}

.form {
  background: #282c34;
  padding: 3px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.form input {
  border: 0;
  padding: 10px;
  width: 90%;
  margin-right: .5%;
}

.form button {
  width: 9%;
  background: #61dafb;
  border: none;
  padding: 10px;
}
